#ifndef TCQ_H
#define TCQ_H
#include "tp_type.h"

int tcqCreate(STRUCT_TC_QUEUE * const tcq, int _size, STRUCT_TC * const tcSpace);
int tcqDelete(STRUCT_TC_QUEUE * const tcq);
int tcqInit(STRUCT_TC_QUEUE * const tcq);
int tcqPut(STRUCT_TC_QUEUE * const tcq, STRUCT_TC const * const tc);
int tcqPopBack(STRUCT_TC_QUEUE * const tcq);
int tcqRemove(STRUCT_TC_QUEUE * const tcq, int n);
int tcqLen(STRUCT_TC_QUEUE const * const tcq);
STRUCT_TC * tcqItem(STRUCT_TC_QUEUE const * const tcq, int n);
STRUCT_TC * tcqLast(STRUCT_TC_QUEUE const * const tcq);
int tcqFull(STRUCT_TC_QUEUE const * const tcq);

#endif
